package com.example.dnfgamercommunitybackend.dao;


import com.example.dnfgamercommunitybackend.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentDao {
    int addComment(Comment comment);

    int deleteComment(Comment comment);

    List<Comment> getAllComment(int articleId);

    List<Comment> getCommentByArticleId(int articleId);

    List<Comment> getReplyComments(int parentCommentId);
}
